package com.example.hzq;

import com.lmax.disruptor.EventFactory;

/**
 * Disruptor事件工厂，用于创建事件对象
 */
public class MessageEventFactory implements EventFactory<MessageEvent> {
    @Override
    public MessageEvent newInstance() {
        return new MessageEvent();
    }
}
